<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/include/head.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><html:text name="sys.name" /></title>
</head> 
<body >
<html:form action="/system/user/save.crm" id="saveForm" method="post">
<table class="detail" cellspacing="0" cellpadding="0" border="0" align="center">
	<tr>
		<td colspan="4" class="x-panel-header"><html:text name="user.modify"/></td>
	</tr>
	<tr>
		<td colspan="4" align="center"><input type="button" onclick="javascript:saveFunction();" class="x-btn" id="saveButton" value=" <html:text name="button.save"/> "></td>
	</tr>
	<tr><td colspan="4" width="100%">
	<fieldset  class="x-fieldset">
	<legend><span><html:text name="entity.basic"/></span></legend>
	<table width="100%">
	<tr>
		<td><html:text name="user.userNo"/><html:hidden id="user.id" name="user.id"/></td>
		<td><html:textfield id="user.userNo"  name="user.userNo" cssStyle="width:95%;"/></td>
		<td colspan="2" rowspan="6">
			<img id="EmployeePicture" alt="" src="<%=WEBPATH%>/images/blank.jpg" height="200" />
		</td>
	</tr>
	<tr>
		<td><html:text name="user.userName"/></td>
		<td><html:textfield id="user.userName"  name="user.userName" cssStyle="width:95%;"/></td>
	</tr>
	<tr>
		<td><html:text name="user.birthDay"/></td>
		<td><html:date id="birthDay" name="user.birthDay" format="yyyy-MM-dd"/><html:textfield id="user.birthDay"  name="user.birthDay" value="%{birthDay}" readonly="true"  cssStyle="width:90%;"/>&nbsp;<img style="border:0px;" src="<%=WEBPATH%>/images/calendar.gif" onclick="WdatePicker({dateFmt:'yyyy-MM-dd',el:'user.birthDay'})"></td>
	</tr>
	<tr>
		<td><html:text name="user.joinDate"/></td>
		<td><html:date id="joinDate" name="user.joinDate" format="yyyy-MM-dd"/><html:textfield id="user.joinDate" value="%{joinDate}"  name="user.joinDate" readonly="true"  cssStyle="width:90%;"/>&nbsp;<img style="border:0px;" src="<%=WEBPATH%>/images/calendar.gif" onclick="WdatePicker({dateFmt:'yyyy-MM-dd',el:'user.joinDate'})"></td>
	</tr>
	<tr>
		<td><html:text name="userDetail.confirmedDate"/></td> 
		<td><html:date id="confirmedDate" name="user.confirmedDate" format="yyyy-MM-dd"/><html:textfield id="user.confirmedDate"  name="user.confirmedDate" value="%{confirmedDate}" readonly="true"   cssStyle="width:90%;"/>&nbsp;<img style="border:0px;" src="<%=WEBPATH%>/images/calendar.gif" onclick="WdatePicker({dateFmt:'yyyy-MM-dd',el:'user.confirmedDate'})"></td>	
	</tr>
	<tr>
		<td><html:text name="userDetail.terminationDate"/></td> 
		<td><html:date id="terminationDate" name="user.terminationDate" format="yyyy-MM-dd"/><html:textfield id="user.terminationDate"  name="user.terminationDate" value="%{terminationDate}" readonly="true"  cssStyle="width:90%;"/>&nbsp;<img style="border:0px;" src="<%=WEBPATH%>/images/calendar.gif" onclick="WdatePicker({dateFmt:'yyyy-MM-dd',el:'user.terminationDate'})"></td>
	</tr>
	<tr>
		<td><html:text name="user.passwd"/></td>
		<td><html:password id="user.passwd"  name="user.passwd" cssStyle="width:95%;"/></td>
		<td><html:text name="user.rePasswd"/></td>
		<td><html:password id="user.rePasswd"  name="user.rePasswd" cssStyle="width:95%;"/></td>
		
	</tr>
	<tr><td><html:text name="user.nickName"/></td>
	<td><html:textfield id="user.nickName"  name="user.nickName" cssStyle="width:95%;"/></td>
		<td><html:text name="user.email"/></td><td>
		<html:textfield id="user.email"  name="user.email" cssStyle="width:95%;"/></td>
	</tr>
	<tr>
		<td><html:text name="user.picFileName"/></td>
		<td><html:textfield id="user.picFileName"  name="user.picFileName" cssStyle="width:95%;"/></td>
		<td><html:text name="user.stayTime"/></td>
		<td><html:textfield id="user.stayTime"  readonly="true" name="user.stayTime" cssStyle="width:95%;"/></td>
		
	</tr>
	<tr>
		<td><html:text name="user.enabled"/></td> 
		<td><html:checkbox id="user.enabled"  name="user.enabled"/></td>
		<td><html:text name="user.accountNonExpired"/></td>
		<td><html:checkbox id="user.accountNonExpired"  name="user.accountNonExpired"/></td>
	</tr>
	<tr>
		<td><html:text name="user.credentialsNonExpired"/></td>
		<td><html:checkbox id="user.credentialsNonExpired"  name="user.credentialsNonExpired"/></td>
		<td><html:text name="user.hiddenLogin"/></td>
		<td><html:checkbox id="user.hiddenLogin"  name="user.hiddenLogin"/></td>
	</tr>
	</table></fieldset>
	</td>
	</tr>
	<tr><td colspan="4" width="100%">
	<fieldset  class="x-fieldset">
	<legend><span><html:text name="entity.detail"/></span></legend>
	<table width="100%">
		<tr>
			<td><html:text name="userDetail.height"/><html:hidden id="user.userDetail.id" name="user.userDetail.id"/></td> 
			<td><html:textfield id="user.userDetail.height"  name="user.userDetail.height" cssStyle="width:95%;"/></td>
			<td><html:text name="userDetail.weight"/></td>
			<td><html:textfield id="user.userDetail.weight"  name="user.userDetail.weight" cssStyle="width:95%;"/></td>
		</tr>
		<tr>
			<td><html:text name="userDetail.position"/></td> 
			<td><html:textfield id="user.userDetail.position"  name="user.userDetail.position" cssStyle="width:95%;"/></td>
			<td><html:text name="userDetail.department"/></td>
			<td><html:select list="departBeans" id="user.userDetail.department"  name="user.userDetail.department" listKey="id" listValue="departName"></html:select></td>
		</tr>
		<tr>
			<td><html:text name="userDetail.englishProficiency"/></td>
			<td><html:textfield id="user.userDetail.englishProficiency"  name="user.userDetail.englishProficiency" cssStyle="width:95%;"/></td>
			<td><html:text name="userDetail.homeTown"/></td> 
			<td><html:textfield id="user.userDetail.homeTown"  name="user.userDetail.homeTown" cssStyle="width:95%;"/></td>
		</tr>
		<tr>
			<td><html:text name="userDetail.bank"/></td> 
			<td><html:textfield id="user.userDetail.bank"  name="user.userDetail.bank" cssStyle="width:95%;"/></td>
			<td><html:text name="userDetail.bankNo"/></td>
			<td><html:textfield id="user.userDetail.bankNo"  name="user.userDetail.bankNo" cssStyle="width:95%;"/></td>
		</tr>
		
		
		<tr>
			<td><html:text name="userDetail.homePage"/></td> 
			<td><html:textfield id="user.userDetail.homePage"  name="user.userDetail.homePage" cssStyle="width:95%;"/></td>
			<td><html:text name="userDetail.oicqNo"/></td>
			<td><html:textfield id="user.userDetail.oicqNo"  name="user.userDetail.oicqNo" cssStyle="width:95%;"/></td>
		</tr>
		<tr>
			<td><html:text name="userDetail.icqNo"/></td> 
			<td><html:textfield id="user.userDetail.icqNo"  name="user.userDetail.icqNo" cssStyle="width:95%;"/></td>
			<td><html:text name="userDetail.postCode"/></td>
			<td><html:textfield id="user.userDetail.postCode"  name="user.userDetail.postCode" cssStyle="width:95%;"/></td>
		</tr>
		<tr>
			<td><html:text name="userDetail.maritalStatus"/></td> 
			<td><html:textfield id="user.userDetail.maritalStatus"  name="user.userDetail.maritalStatus" cssStyle="width:95%;"/></td>
			<td><html:text name="userDetail.socialInsurance"/></td>
			<td><html:textfield id="user.userDetail.socialInsurance"  name="user.userDetail.socialInsurance" cssStyle="width:95%;"/></td>
		</tr>
		<tr>
			<td><html:text name="userDetail.nationalIDNo"/></td> 
			<td><html:textfield id="user.userDetail.nationalIDNo"  name="user.userDetail.nationalIDNo" cssStyle="width:95%;"/></td>
			<td><html:text name="userDetail.officeTelNo"/></td>
			<td><html:textfield id="user.userDetail.officeTelNo"  name="user.userDetail.officeTelNo" cssStyle="width:95%;"/></td>
		</tr>
		<tr>
			<td><html:text name="userDetail.mobilePhone"/></td> 
			<td><html:textfield id="user.userDetail.mobilePhone"  name="user.userDetail.mobilePhone" cssStyle="width:95%;"/></td>
			<td><html:text name="userDetail.telephone"/></td>
			<td><html:textfield id="user.userDetail.telephone"  name="user.userDetail.telephone" cssStyle="width:95%;"/></td>
		</tr>
		<tr>
			<td><html:text name="userDetail.yahoo"/></td> 
			<td><html:textfield id="user.userDetail.yahoo"  name="user.userDetail.yahoo" cssStyle="width:95%;"/></td>
			<td><html:text name="userDetail.msn"/></td>
			<td><html:textfield id="user.userDetail.msn"  name="user.userDetail.msn" cssStyle="width:95%;"/></td>
		</tr>
		<tr>
			<td><html:text name="userDetail.currentAddress"/></td> 
			<td colspan="3"><html:textfield id="user.userDetail.currentAddress"  name="user.userDetail.currentAddress" cssStyle="width:98%;"/></td>
		</tr>
		<tr>	
			<td><html:text name="userDetail.homeAddress"/></td>
			<td colspan="3"><html:textfield id="user.userDetail.homeAddress" cssStyle="width:98%;"  name="user.userDetail.homeAddress"/></td>
		</tr>
		<tr>
			<td><html:text name="userDetail.comments"/></td>
			<td colspan="3"><html:textarea rows="5" id="user.userDetail.comments" cssStyle="width:98%;"  name="user.userDetail.comments"/></td>
		</tr>
	</table>
	</fieldset></td></tr>
	<tr><td colspan="4" width="100%">
		<table width="100%">
		</table>
	</td></tr>
</table>
</html:form>
 
</body>

</html>
